const AJAX = getApp().ajax,
      $wx = getApp().$wx,
      getColor = getApp().globalData.getColor;

Page({
  data: {
    getColor: getColor(),
    money: ''
  },

  onLoad(){
    $wx.setNavColor(getColor().val);  
  },

  onShareAppMessage(){

  },

  /*获取全部金额*/ 
  AllWithdrawal(e){
    let _this = this, td = _this.data, 
        money = e.currentTarget.dataset.money;

    _this.setData({
      money
    });
  },

  /*提现*/ 
  formSubmit(e){
    let _this = this, form_val = e.detail.value;
  }
});